package com.heima.common.constants;

/**
 * 文章常量类
 * @author Mr.Chen
 */
public class ArticleConstants{
    //上拉
    public static final Short LOADTYPE_LOAD_MORE = 1;
    //下拉
    public static final Short LOADTYPE_LOAD_NEW = 2;
    //推荐标签
    public static final String DEFAULT_TAG = "__all__";

    //点赞权重
    public static final Integer HOT_ARTICLE_LIKE_WEIGHT = 3;
    //评论权重
    public static final Integer HOT_ARTICLE_COMMENT_WEIGHT = 5;
    //收藏权重
    public static final Integer HOT_ARTICLE_COLLECTION_WEIGHT = 8;
    //redis的key常量
    public static final String HOT_ARTICLE_FIRST_PAGE = "hot_article_first_page_";

}